package org.dromara.system.domain.vo;

import org.dromara.system.domain.AppAgreement;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * App用户协议和隐私政策视图对象 app_agreement
 *
 * @author Lion Li
 * @date 2025-09-19
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = AppAgreement.class)
public class AppAgreementVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ExcelProperty(value = "主键ID")
    private Long id;

    /**
     * 协议类型：1=用户协议 2=隐私政策
     */
    @ExcelProperty(value = "协议类型：1=用户协议 2=隐私政策")
    private Long type;

    /**
     * 协议标题
     */
    @ExcelProperty(value = "协议标题")
    private String title;

    /**
     * 协议内容，存富文本或HTML
     */
    @ExcelProperty(value = "协议内容，存富文本或HTML")
    private String content;

    /**
     * 语言标识，如 zh-CN, en-US
     */
    @ExcelProperty(value = "语言标识，如 zh-CN, en-US")
    private String lang;

    /**
     * 状态：0=禁用 1=启用
     */
    @ExcelProperty(value = "状态：0=禁用 1=启用")
    private Long status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
